package com.qingfeng.client.DO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/1/2 6:19 下午
 */
@ApiModel(value = "购物车单个商品基本信息")
@Data
public class ShoppingCartGoodsDo {

    @ApiModelProperty(value = "购物车id")
    private Long cartId;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品价格")
    private Long price;

    @ApiModelProperty(value = "商品图片")
    private String pic1;

    @ApiModelProperty(value = "单品id")
    private Long goodsId;

    @ApiModelProperty(value = "商品id")
    private Long goodsCommonId;

    @ApiModelProperty(value = "属性字符串")
    private String attrs;

    @ApiModelProperty(value = "购买数量")
    private int num;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "可出售数量")
    private Long canSellSize;

    @ApiModelProperty(value = "销售状态")
    private Integer sellStat;

    @ApiModelProperty(value = "店铺id")
    private Long storeId;

    @ApiModelProperty(value = "店铺名称")
    private String storeName;

    @ApiModelProperty(value = "店铺图标")
    private String storeIcon;

}
